package com.csu.jpetstore.mybatis.persistence;

import org.springframework.stereotype.Repository;
import com.csu.jpetstore.mybatis.domain.Order;

import java.util.List;

@Repository
public interface OrderDao {
    List<Order> getOrdersByUsername(String username);

    Order getOrder(int orderId);

    void insertOrder(Order order);

    void insertOrderStatus(Order order);
}
